<%@include file="header.jsp"%>

<div class="container">

	<div>
		<table class="table">
			<thead>
				<tr>
					<th>Dominio</th>
					<th>Marca</th>
					<th>Modelo</th>
					<th>Fecha</th>
				</tr>
			</thead>
			<tbody>

				<s:iterator value="siniestros" status="siniestrosStatus">
					<s:if test="#siniestrosStatus.even == true">
						<tr class="success">
					</s:if>
					<s:else>
						<tr class="info">
					</s:else>
					<td><s:property value="vehiculoDamnificado.dominio" /></td>
					<td><s:property value="vehiculoDamnificado.marca.nombre" /></td>
					<td><s:property value="vehiculoDamnificado.modelo" /></td>
					<td><s:date name="fecha" format="dd/MM/yyyy" /></td>
					</tr>
				</s:iterator>
				<tr class="success">
					<td>1</td>
					<td>TB - Monthly</td>
					<td>01/04/2012</td>
					<td>Approved</td>
				</tr>
				<tr class="error">
					<td>2</td>
					<td>TB - Monthly</td>
					<td>02/04/2012</td>
					<td>Declined</td>
				</tr>
				<tr class="warning">
					<td>3</td>
					<td>TB - Monthly</td>
					<td>03/04/2012</td>
					<td>Pending</td>
				</tr>
				<tr class="info">
					<td>4</td>
					<td>TB - Monthly</td>
					<td>04/04/2012</td>
					<td>Call in to confirm</td>
				</tr>
			</tbody>
		</table>
	</div>

	<%@include file="footer.jsp"%>